<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	  <title>{$seo_title}</title>
	  <meta name="author" content="YzmCMS内容管理系统">
	  <meta name="keywords" content="{$keywords}" />
	  <meta name="description" content="{$description}" />
	  <link href="{STATIC_URL}css/yzm-common.css" rel="stylesheet" type="text/css" />
	  <link href="{STATIC_URL}css/yzm-style.css" rel="stylesheet" type="text/css" />
	  <script type="text/javascript" src="{STATIC_URL}js/jquery-1.8.2.min.js"></script>
	  <script type="text/javascript" src="{STATIC_URL}js/yzm-front.js"></script>
  </head>
  <body>
	{m:include "index","header"} 

	<div class="yzm-content-box yzm-product">
		<div class="yzm-title">
			<h2>{get_catname($catid)}</h2>
			<span class="yzm-title-right">
				当前位置：{get_location($catid)}
			</span>
		</div>
		{m:lists field="title,url,color,thumb,brand,price,stock" catid="$catid" limit="10" page="page"}
		{loop $data $v}	
		<div class="yzm-product-list-box">
			<div class="yzm-product-list">
				<a href="{$v[url]}" class="yzm-product-img"><img src="{get_thumb($v['thumb'])}" title="{$v['title']}" alt="{$v['title']}"></a>
				<div class="yzm-product-right">
					<a class="yzm-product-title" href="{$v[url]}">{title_color($v['title'], $v['color'])}</a>
					<p class="yzm-product-price">￥{$v[price]}元</p>
					<p class="yzm-product-stock">库存：{$v[stock]}个</p>
					<a class="yzm-product-details" href="{$v[url]}" target="_blank">查看详情</a>
				</div>
			</div>
		</div>		
		{/loop}
		<div class="clearfix"></div>
		<div id="page">{$pages}</div>	
	</div>
	{m:include "index","footer"} 